<B:UIVAART x:Class="WPFExcelReport.LSTVASJH"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:B="clr-namespace:WPFExcelReport;assembly=TVAART" 
           xmlns:me="clr-namespace:WPFExcelReport" 
                        xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:VAK="clr-namespace:WPFExcelReport;assembly=TVAKOLL" 
                    xmlns:WS="clr-namespace:WPFExcelReport;assembly=TWASTAMM" 
                    xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                     xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                     xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
                    xmlns:VKK="clr-namespace:WPFExcelReport;assembly=TVKKOPF"  
                    xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"  
                    xmlns:VF="clr-namespace:WPFExcelReport;assembly=TVAFARBEN"  
                   x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <B:UIVAART.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:TRIMGB2312Convert8859P1 x:Key="tgb"/>
        <ucd:TextTrimmingConverter x:Key ="trim"/>
    </B:UIVAART.Resources>

    <DataGrid  Grid.Row="2" Grid.Column="0"  
                   VerticalAlignment="Top"  
                   AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                   IsReadOnly="True"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"     
                   ItemsSource="{Binding Source={StaticResource vwMaster}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   x:Name="dlgMaster">
        <DataGrid.Columns>
            <!--DataGridTemplateColumn Header="{Binding Source={Localization:Translate Word=图片}}"   IsReadOnly="True">
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                            <Image Source="{Binding PHOTOLINK}"  Stretch="Uniform" Width="60" Height="60"/>
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn-->
            <DataGridTextColumn Binding="{Binding Path=VAAART,Converter={StaticResource trim}}" Header="{Binding Source={Localization:Translate Word=工艺编号}}"  Width="Auto" />
            <!--DataGridTextColumn Binding="{Binding Path=VAAKURZBEZ,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=简述}}"  Width="Auto" /-->
            <DataGridTextColumn Binding="{Binding Path=VAABEZ,Converter={StaticResource tgb}}" Header="{Binding Source={Localization:Translate Word=描述}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAAPRGR}" Visibility="Collapsed" Header="{Binding Source={Localization:Translate Word=客户组}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAAARTGRP}" Visibility="Collapsed" Header="{Binding Source={Localization:Translate Word=品名}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WARBRTOL,Converter={StaticResource d10}}"  Header="{Binding Source={Localization:Translate Word=机上幅宽}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WARWBRT,Converter={StaticResource d10}}"  Header="{Binding Source={Localization:Translate Word=机下幅宽}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WAFGRLFD}" Visibility="Collapsed" Header="{Binding Source={Localization:Translate Word=克重G/M}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WAFGRQM}" Visibility="Collapsed" Header="{Binding Source={Localization:Translate Word=克重G/M2}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WAFFDDIK,Converter={StaticResource d100}}" Visibility="Collapsed" Header="{Binding Source={Localization:Translate Word=经密}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WAFFDDIS,Converter={StaticResource d100}}" Header="{Binding Source={Localization:Translate Word=纬密}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=WAFDDIM}" Header="{Binding Source={Localization:Translate Word=单位}}" Visibility="Collapsed"   Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAADART,Converter={StaticResource trim}}" Header="{Binding Source={Localization:Translate Word=生产品种}}" Visibility="Collapsed"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAAAENDBEN}" Header="{Binding Source={Localization:Translate Word=更改}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAAAENDDAT}" Header="{Binding Source={Localization:Translate Word=日期}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAANEUBEN}" Header="{Binding Source={Localization:Translate Word=创建}}"  Width="Auto" />
            <DataGridTextColumn Binding="{Binding Path=VAANEUDAT}" Header="{Binding Source={Localization:Translate Word=日期}}"  Width="100" />
        </DataGrid.Columns>
    </DataGrid  >
</B:UIVAART>
